class Common {
  constructor () {}
  
  // 延时函数
  static delay (time) {
    return new Promise((resolve, reject) => {
      setTimeout(() => {
        resolve()
      }, time)
    })
  }
}

export default Common